#include <stdio.h>
void main()
{
	int a,b,c,c1,c2,c3,c4;
	printf("input a b:");
	scanf("%d%d",&a,&b);
	c1=a/10%10*1000;
	c2=b%10*100;
	c3=b/10%10;
	c4=a%10*10;
	c=c1+c2+c3+c4;
	printf("c=%d\n",c);
}
